package com.edu.juc.jmm.bean;

import lombok.Data;

@Data
public class MyNumber {
    private volatile int number;

    public void add() {
        number++;
    }
}
